/*
 * MockEventListener.h
 *
 *  Created on: Feb 7, 2012
 *      Author: hzheng
 */

#ifndef MOCKEVENTLISTENER_H_
#define MOCKEVENTLISTENER_H_
#include "IEventListener.h"
namespace NS_LCD_AFW
{
class CMockEventListener : public IEventListener
{
public:
	CMockEventListener(){};
	CMockEventListener(CEventHandler *pEventHandler, bool bAutoRelease = true);
	CMockEventListener(CEventHandler *pEventHandler, int eventId,AFW_EventCallBack callBack, int param,bool bAutoRelease = true);
public:
	virtual ~CMockEventListener(){}

	CEventHandler *getEventHandler() const
	{
		return IEventListener::getEventHandler();
	}
	CEventHandler *  setEventHandler(CEventHandler *pEventHandler)
	{
		return IEventListener::setEventHandler(pEventHandler);
	}
};
CMockEventListener::CMockEventListener(CEventHandler *pEventHandler, bool bAutoRelease/* = true*/)
:IEventListener(pEventHandler,bAutoRelease)
{

}
CMockEventListener::CMockEventListener(CEventHandler *pEventHandler, int eventId,AFW_EventCallBack callBack,int param, bool bAutoRelease/* = true*/)
:IEventListener(pEventHandler,eventId,callBack,param,bAutoRelease)
{

}
}

#endif /* MOCKEVENTLISTENER_H_ */
